package com.mes.biz.mapper;

import com.mes.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.mes.biz.domain.BizPurchaseDetail;

import java.util.List;

/**
 * 采购单明细Mapper接口
 * @author wy
 * @email wy
 * @date 2023-05-19
 */
public interface BizPurchaseDetailMapper extends BaseMapper<BizPurchaseDetail>
{

    /**
     * 批量删除采购单明细
     * @param ids 需要删除的采购单明细ID集合
     * @return
     */
    public int deleteBizPurchaseDetailByIds(@Param("ids") String[] ids, @Param("delFlag") String delFlag);

    List<BizPurchaseDetail> getBizPurchaseDetailByPurchaseCode(@Param("purchaseCode") String purchaseCode);


}
